package builderExample;

public class WeightLossScheduleBuilder implements ScheduleBuilder {

	private Schedule schedule;

	public WeightLossScheduleBuilder() {
		schedule = new Schedule();
	}

	@Override
	public void buildWarmUp() {
		schedule.setWarmUp("10 Gentle stretches");
	}

	@Override
	public void buildMainExercise() {
		schedule.setMainExercise("Jogging for 40 minutes");
	}

	@Override
	public void buildWarmDown() {
		schedule.setWarmDown("20 Calf stretches");
	}

	@Override
	public Schedule getSchedule() {
		return schedule;
	}

}
